﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
using UploaderModels;
using UploaderWebApi.Models;

namespace UploaderWebApi
{
    [HubName("imageHub")]
    public class ImageHub : Hub
    {
        public void SendImagesToAll(ReturnedImageModel image)
        {
            Clients.All.sendImages(image);
        }
    }
}